home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
misc_pto
/
29ksim
/
define.h
< prev
next >
Wrap
Text File
|
1987-12-03
|
630b
|
31 lines
; Define.h used to define segments
data .seg data ; global data segment
data1 .seg data ; static character string segment
data2 .seg data ; character string segment
code .seg code ; code segment
bss .seg bss ; uninitialized data segment
lit .seg lit ; uninitialized literal segment
/* comm -- macro to define a global */
comm .macro name,size
SEGTEMP .segval
.use bss
.align
.global name
name@: .block size
.use SEGTEMP
.endm
/* lcomm -- macro to define a static local */
lcomm .macro name,size
SEGTEMP .segval
.use bss
.align
name@: .block size
.use SEGTEMP
.endm
.use code